<?php
namespace app\common\model;

use think\Model;

class RelationTeacherModel extends Model
{
	
	protected $field = true;
	public function classs(){
		return $this->hasOne('RelationClassModel','class_id','class_id');
	}
	public function appuser(){
		return $this->belongsTo('AppUserModel','user_id','id');
	}
}